package com.tlgen.modules.vocation.repository;

import com.tlgen.modules.vocation.domain.Family;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface FamilyRepository extends JpaRepository<Family, Long>, JpaSpecificationExecutor<Family> {

    /**
     * 根据登记人员名称查询 其值必定唯一不重复
     * @param record
     */
    Family findByRecord(String record);
}
